The program data is represented by xml. The tag of the program list is mainly composed of: screen, program, area, image, video, text, clock, and the like. The relationship between the tags is as follows:

<screen>

    <program>

        <area>

            <resources>

                <image>

                </image>

               

                <video>

                </video>

               

                <text>

                </text>

               

                <clock>

                </clock>

            </resources>

        </area>

    </program>

</screen>

<!--

  Description:

    1. screencan contain multiple program tags.

    2.program can contain multipleareatags.

    3. area contains only one resources tag.

    4.resources can contain multiple image tags.

    5.resources can contain multiple video tags.

    6.resources can contain multiple text tags.

    7.resources can contain multiple clock tags.

-->

 

 

The program list structure is as follows.

<screen>

    <program guid="##value" type="##value" flag="##value">

        <border index="##value" effect="##value" speed="##value"/>

       

        <backgroundMusic>

            <file name="##value"/>

        </backgroundMusic>

       

        <playControl duration="##value" count="##value" disable="##value">

            <date start="##value" end="##value"/>

            <time start="##value" end="##value"/>

            <week enable="##value"/>

            <location lng="##value" lat="##value" range="##value"/>

        </playControl>

       

        <area guid="##value" alpha="##value">

            <rectangle x="##value" y="##value" width="##value" height="##value"/>

            <border index="##value" effect="##value" speed="##value"/>

           

            <resources>

                <image guid="##value" fit="##value">

                    <effect in="##value" out="##value" inSpeed="##value" outSpeed="##value" duration="##value"/>

                    <file name="##value"/>

                </image>

               

                <video guid="##value" aspectRation="##value">

                    <file name="##value"/>

                </video>

               

                <text guid="##value" singleLine="##value" background="##value">

                    <effect in="##value" out="##value" inSpeed="##value" outSpeed="##value" duration="##value"/>

                    <style align="##value" valign="##value"/>

                    <string>##value</string>

                    <font bold="##value" italic="##value" underline="##value" size="##value" name="##value"/>

                </text>

               

                <clock guid="##value" type="##value" timezone="##value" adjust="##value">

                    <title value="##value" color="##value" display="##value"/>

                    <date format="##value" color="##value" display="##Value"/>

                    <week format="##value" color="##value" display="##Value"/>

                    <time format="##value" color="##value" display="##Value"/>

                    <lunarCalendar color="##value" display="##value"/>

                </clock>

            </resources>

        </area>

    </program>

</screen>